package drds.global_transaction.image.image_praser;

import drds.global_transaction.image.Image;
import net.sf.jsqlparser.JSQLParserException;

import javax.transaction.xa.XAException;
import java.sql.SQLException;
import java.util.List;

public interface ImagePraser
{

    String getSchemaName() throws SQLException;

    String getTableName() throws JSQLParserException, XAException, SQLException;

    String getPrimaryKeyColumnName() throws SQLException;

    //
    List<String> getColumnNameList() throws JSQLParserException, SQLException;

    String getAllColumnNameString();

    String getWhereCondition() throws JSQLParserException;

    //
    Image generateBeforeImage() throws SQLException, JSQLParserException;

    Image generateAfterImage() throws SQLException, JSQLParserException;


}
